/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.webbucks;

/**
 *
 * @author Locally
 */
public class Ingredient {
    String name;
    int quantity;


    Ingredient(String n, int q) {
        name = n;
        quantity = q;
    }
    
    public void addIngredient(int q) {
        quantity += q;
    }
    
    public String getName() {
        return name;
    }
    
    public int getQuantity() {
        return quantity;
    }
    
}
